package com.example.mybatisplusdemo.model.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yrd
 * @since 2025-07-07
 */
@Getter
@Setter
@ToString
@TableName("airport")
@Accessors(chain = true)
@ApiModel(value = "Airport对象", description = "")
public class Airport implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("code")
    private String code;

    @TableField("name")
    private String name;

    @TableField("city")
    private String city;

    @TableField("country")
    private String country;

    @TableField("timezone")
    private String timezone;

    /**
     * 航站楼信息
     */
    @ApiModelProperty("航站楼信息")
    @TableField("terminal_info")
    private String terminalInfo;
}
